<?php 

	class Conexao
	{		
		var $conexao;			
		
		public function Conexao(){
			
			$dbtype="mysqli";
			$dbhost="localhost";
			$dbuser="root";
			$dbpass="";
			$dbname="admin";
			$db = NewADOConnection($dbtype);
			$db->Connect($dbhost,$dbuser,$dbpass,$dbname);
			
			$this->conexao = $db;
		}
	}	
?>